<template>
  <div>
    <router-view/>

    <!--    底部导航条-->
    <div>
      <van-tabbar route v-if='$route.meta.TabBarShow'>
        <van-tabbar-item to="/home" name="home" icon="label">首页</van-tabbar-item>
        <van-tabbar-item to="/community" name="community" icon="todo-list">社区</van-tabbar-item>
        <van-tabbar-item to="/Plan" name="search" icon="fire">课程</van-tabbar-item>
        <van-tabbar-item to="/mall" name="friends" icon="shopping-cart">商城</van-tabbar-item>
        <van-tabbar-item to="/my" name="setting" icon="manager">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>

</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
<script>
export default {
  components: {}

}
</script>
